﻿<?xml version="1.0" encoding="UTF-8"?>
<%@ page pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<script>
$(document).ready(function(){
  $('#del_finger_item').click(function(){
    var param=$(this).data('fpno');
    var index = 3*param;
    $('#finger' + '_Img'+index).val('');
    index = 3*param+1;
    $('#finger' + '_Img'+index).val('');
    index = 3*param+2;
    $('#finger' + '_Img'+index).val('');
    $('#finger' + '_mb'+param).val('');
    $('#fpimg'+param).attr('src',
    	'<%=request.getContextPath()%>/app/img/empty.jpg');
    var str=$('#deleted_fpnos').val();
    $('#deleted_fpnos').val(modify_fpno_str(str,param,param));
  });
});
</script>
<input type="hidden" id="deleted_fpnos" name="deletedfpnos"/>
<div id="del_finger_menu" style="width:90px">
  <div iconCls="icon-remove" id="del_finger_item">删除指纹</div>
</div>   
<table>
	<tbody>	
		<tr id="link_status">
			<td><input type="checkbox" class="link_info" id="finger_4_linked" value="4" /></td>
			<td><input type="checkbox" class="link_info" id="finger_3_linked" value="3" /></td>
			<td><input type="checkbox" class="link_info" id="finger_2_linked" value="2" /></td>
			<td><input type="checkbox" class="link_info" id="finger_1_linked" value="1" /></td>
			<td><input type="checkbox" class="link_info" id="finger_0_linked" value="0" /></td>
			<td style="width:45px"></td>
			<td><input type="checkbox" class="link_info" id="finger_5_linked" value="5" /></td>
			<td><input type="checkbox" class="link_info" id="finger_6_linked" value="6" /></td>
			<td><input type="checkbox" class="link_info" id="finger_7_linked" value="7" /></td>
			<td><input type="checkbox" class="link_info" id="finger_8_linked" value="8" /></td>
			<td><input type="checkbox" class="link_info" id="finger_9_linked" value="9" /></td>
		</tr>
		<tr id="finger_imgs">
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="左手小拇指" 
				id="fpimg4"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="左手无名指"
				id="fpimg3"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="左手中指"
				id="fpimg2"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="左手食指"
				id="fpimg1"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="左手大拇指"
				id="fpimg0"/></td>
			<td style="width:45px"></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="右手大拇指"
				id="fpimg5"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="右手食指"
				id="fpimg6"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="右手中指"
				id="fpimg7"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="右手无名指"
				id="fpimg8"/></td>
			<td><img src="<%=request.getContextPath()%>/app/img/empty.jpg" title="右手小拇指"
				id="fpimg9"/></td>
		</tr>
	</tbody>
</table>
<table>
  <tr>
    <td><img src="<%=request.getContextPath()%>/app/img/hand.jpg"/></td>
  </tr>
</table>

